//
//  ProductsModel.m
//  彩票项目
//
//  Created by 伍银荣 on 2021/8/10.
//  Copyright © 2021 com.WYR. All rights reserved.
//

#import "ProductsModel.h"

@implementation ProductsModel

- (instancetype)initWithDict:(NSDictionary *)dict {
    if (self = [super init]) {
        self.icon = dict[@"icon"];
        self.title = dict[@"title"];
    }
    return self;
}

+ (instancetype)productWithDict:(NSDictionary *)dict {
    return [[self alloc]initWithDict:dict];
}

@end
